fit all components in one#37
Open
tsuz wants to merge 1 commit into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
Adds an all-in-one local deployment option that builds and runs all Flightdeck JVM services in a single container alongside Kafka and the existing frontend.
Changes:
- Adds a multi-stage all-in-one Dockerfile for the JVM services.
- Adds a startup script that launches each JVM service with prefixed logs.
- Adds a compose file for Kafka, the bundled app container, and frontend.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
Dockerfile-all-in-one |
Builds all JVM service JARs and packages them into one runtime image. |
scripts/start-all-in-one.sh |
Starts processing, think, memoir, monitoring, and API JVMs in one container. |
docker-compose.all-in-one.yml |
Defines the local all-in-one stack with Kafka, Flightdeck, and frontend. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+58
to
+68
| # Supplies CLAUDE_API_KEY (and any other example vars) directly to the container. | ||
| # Note: vars listed under `environment:` below override anything from env_file, | ||
| # so CLAUDE_API_KEY is intentionally NOT repeated there. | ||
| env_file: | ||
| - ./examples/lead-followup-agent/.env | ||
| environment: | ||
| KAFKA_BOOTSTRAP_SERVERS: kafka:29092 | ||
| AGENT_NAME: ${AGENT_NAME:-lead-followup} | ||
| PORT: 8000 | ||
| WS_PORT: 8001 | ||
| MEMOIR_ENABLED: ${MEMOIR_ENABLED:-false} |
Comment on lines
+76
to
+78
| depends_on: | ||
| kafka: | ||
| condition: service_healthy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.